package com.efast.dmom.mgmt.entity.les;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 	质检任务头表
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-05-27
 */
@TableName("tw_quality_task_header")
public class TwQualityTaskHeader implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "tw_quality_task_header_id", type = IdType.AUTO)
    private Integer twQualityTaskHeaderId;
    /**
     * 	质检任务状态 默认是0
质检任务状态 0新单 1部分质检 2完全质检  3任务关闭）
     */
    @TableField("quality_status")
    private String qualityStatus;
    /**
     * asn序列号
     */
    @TableField("asn_sheet_no")
    private String asnSheetNo;
    /**
     * 质检任务单号
q+yyyymmdd+seq
     */
    @TableField("quality_alloc_no")
    private String qualityAllocNo;
    /**
     * 任务创建时间	
     */
    @TableField("task_createtime")
    private Date taskCreatetime;
    /**
     * 任务创建人	
     */
    @TableField("task_createman")
    private String taskCreateman;
    /**
     * 原始的零件包装流水号	
     */
    @TableField("part_serial_no")
    private String partSerialNo;
    /**
     * 是否激活
     */
    @TableField("mark_status")
    private Integer markStatus;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建用户
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 上次更新时间
     */
    @TableField("last_update_time")
    private Date lastUpdateTime;
    /**
     * 更改用户
     */
    @TableField("last_update_user")
    private String lastUpdateUser;
    /**
     * 版本控制
     */
    @TableField("opt_counter")
    private Integer optCounter;
    /**
     * 企业代码
     */
    @TableField("company_code")
    private String companyCode;


    public Integer getTwQualityTaskHeaderId() {
        return twQualityTaskHeaderId;
    }

    public void setTwQualityTaskHeaderId(Integer twQualityTaskHeaderId) {
        this.twQualityTaskHeaderId = twQualityTaskHeaderId;
    }

    public String getQualityStatus() {
        return qualityStatus;
    }

    public void setQualityStatus(String qualityStatus) {
        this.qualityStatus = qualityStatus;
    }

    public String getAsnSheetNo() {
        return asnSheetNo;
    }

    public void setAsnSheetNo(String asnSheetNo) {
        this.asnSheetNo = asnSheetNo;
    }

    public String getQualityAllocNo() {
        return qualityAllocNo;
    }

    public void setQualityAllocNo(String qualityAllocNo) {
        this.qualityAllocNo = qualityAllocNo;
    }

    public Date getTaskCreatetime() {
        return taskCreatetime;
    }

    public void setTaskCreatetime(Date taskCreatetime) {
        this.taskCreatetime = taskCreatetime;
    }

    public String getTaskCreateman() {
        return taskCreateman;
    }

    public void setTaskCreateman(String taskCreateman) {
        this.taskCreateman = taskCreateman;
    }

    public String getPartSerialNo() {
        return partSerialNo;
    }

    public void setPartSerialNo(String partSerialNo) {
        this.partSerialNo = partSerialNo;
    }

    public Integer getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(Integer markStatus) {
        this.markStatus = markStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Integer getOptCounter() {
        return optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "TwQualityTaskHeader{" +
        ", twQualityTaskHeaderId=" + twQualityTaskHeaderId +
        ", qualityStatus=" + qualityStatus +
        ", asnSheetNo=" + asnSheetNo +
        ", qualityAllocNo=" + qualityAllocNo +
        ", taskCreatetime=" + taskCreatetime +
        ", taskCreateman=" + taskCreateman +
        ", partSerialNo=" + partSerialNo +
        ", markStatus=" + markStatus +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", lastUpdateTime=" + lastUpdateTime +
        ", lastUpdateUser=" + lastUpdateUser +
        ", optCounter=" + optCounter +
        ", companyCode=" + companyCode +
        "}";
    }
}
